// ============================== 登陆请求体 ============================== //

export class UaaLoginReq {
  constructor() {
    this.obj = {
      comReq: undefined,
      userSpace: '',
      account: '',
      password: '',
      loginType: 0,
    }
  }

  toObject() {
    return this.obj
  }

  setUserSpace(userSpace) {
    this.obj.userSpace = userSpace
  }

  setAccount(account) {
    this.obj.account = account
  }

  setPassword(password) {
    this.obj.password = password
  }

  setLoginType(loginType) {
    this.obj.loginType = loginType
  }
}
